package com.ye.study.dto;


import com.ye.study.desensitization.Desensitization;
import com.ye.study.desensitization.DesensitizationStrategyEnum;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @auther zzyy
 * @create 2025-01-13 11:06
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class User
{
    // id
    private String id;
    // 姓名
    @Desensitization(DesensitizationStrategyEnum.NAME)
    private String name;
    // 手机号
    @Desensitization(DesensitizationStrategyEnum.PHONE)
    private String phone;
    // 邮箱
    @Desensitization(DesensitizationStrategyEnum.EMAIL)
    private String email;
    // 银行卡
    @Desensitization(DesensitizationStrategyEnum.ID_CARD)
    private String idCard;
    // 密码
    @Desensitization(DesensitizationStrategyEnum.PASSWORD)
    private String password;
    // 地址
    @Desensitization(DesensitizationStrategyEnum.ADDRESS)
    private String address;
    //银行卡
    @Desensitization(DesensitizationStrategyEnum.BANK_CARD)
    private String bankCard;
}